package hentai.service;

import hentai.dao.IUserDAO;
import hentai.entity.User;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

@Service("userService")
public class UserService implements IUserService {

    @Resource
    private IUserDAO userDAO;

    @Override
    public User findUserById(int id) {
        return this.userDAO.findUserById(id);
    }
}
